package com.example.demo.src;

public class Test {

    public static void main(String[] args) {
        Operation opera = OperationFactory.createOperation("+");
        opera.setNumberA(1);
        opera.setNumberB(2);
        double result = opera.getResult();
        System.out.println(result);
    }

}
